




class LPNPhotoDetail {
  int warehousingNotifyId;
  String containerNo;
  String lpn;
  String sku;
  String upType;
  int quantity;
  int ctnQty;
  int pcsQty;

  LPNPhotoDetail(this.warehousingNotifyId, this.containerNo, this.lpn, this.sku, this.upType, this.quantity, this.ctnQty, this.pcsQty);

  LPNPhotoDetail.fromJson(Map<dynamic, dynamic> json)
      : warehousingNotifyId = json['warehousingNotifyId'] as int,
        containerNo = json['containerNo'] as String,
        lpn = json['lpn'] as String,
        sku = json['sku'] as String,
        upType = json['upType'] as String,
        quantity = json['quantity'] as int,
        ctnQty = json['ctnQty'] as int,
        pcsQty = json['pcsQty'] as int;
}

class LPNPhotoQr{
  int id;//LPN照片主键ID
  int warehousingNotifyId = -1;//入仓预报id
  String containerNo;//柜号/集装箱编码
  String lpn;//

  String photo1;
  String photo2;
  String photo3;
  String photo4;

  LPNPhotoQr(this.id, this.warehousingNotifyId, this.containerNo, this.lpn, this.photo1, this.photo2, this.photo3, this.photo4);

  Map<String, dynamic> toJson() => {
    'id': id,
    'warehousingNotifyId': warehousingNotifyId,
    'containerNo': containerNo,
    'lpn': lpn,
    'photo1': photo1,
    'photo2': photo2,
    'photo3': photo3,
    'photo4': photo4,
  };

  LPNPhotoQr.fromJson(Map<dynamic, dynamic> json)
      : id = json['id'] as int,
        warehousingNotifyId = json['warehousingNotifyId'] as int,
        containerNo = json['containerNo'] as String,
        lpn = json['lpn'] as String,
        photo1 = json['photo1'] as String,
        photo2 = json['photo2'] as String,
        photo3 = json['photo3'] as String,
        photo4 = json['photo4'] as String;
}

class LPNPhotoLPN {
  String containerNo;
  String createdDatetime;
  int id;
  String lpn;
  String photo1;
  String photo2;
  String photo3;
  String photo4;
  String updatedDatetime;
  String warehouseCode;
  int warehousingNotifyId;


  LPNPhotoLPN.fromJson(Map<dynamic, dynamic> json)
      : containerNo = json['containerNo'] as String,
        createdDatetime = json['createdDatetime'] as String,
        id = json['id'] as int,
        lpn = json['lpn'] as String,
        photo1 = json['photo1'] as String,
        photo2 = json['photo2'] as String,
        photo3 = json['photo3'] as String,
        photo4 = json['photo4'] as String,

        updatedDatetime = json['updatedDatetime'] as String,
        warehouseCode = json['warehouseCode'] as String,
        warehousingNotifyId = json['warehousingNotifyId'] as int;

}

class LPNPhotoLPNDetail{
  String lpn;
  int submitFlag=0;

  LPNPhotoLPNDetail.fromJson(Map<dynamic, dynamic> json)
      : lpn = json['lpn'] as String,
        submitFlag = json['submitFlag'] as int;
}

